package me.zhengjie.modules.system.domain;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

@Data
@TableName("chapterlearnrecord")
public class Chapterlearnrecord implements Serializable {
    
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long id;

    private Long teachId;

    private Long teachChapterId;

    private Long teachSubsectionId;

    private Long courseId;

    private Long userId;

    private Long studentId;

    private Long schoolId;

    private String duration;

    @TableField(fill = FieldFill.INSERT)
    private Timestamp startTime;

    private Timestamp endTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Timestamp operationTime;
}
